package com.project.logback;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class LogbackTest {
    private static Logger logObj = LoggerFactory.getLogger(LogbackTest.class);
    public LogbackTest(){
        logObj.trace("trace追踪级别信息");
        logObj.debug("debug调试");
        logObj.info("info信息");
        logObj.warn("warn警告");
        logObj.error("error错误");
    }
    public static void main(String[] args) {
        new LogbackTest();
    }
}
